package housing.task3.factory;

import housing.task3.dao.HsWorkscaleDao;
import housing.task3.jdbc.HsWorkscaleDaoImpl;

import java.sql.Connection;

public class HsWorkscaleDaoFactory {
    /**
     * Method 'create'
     *
     * @return HsWorkscaleDao
     */
    public static HsWorkscaleDao create() {
        return new HsWorkscaleDaoImpl();
    }

    /**
     * Method 'create'
     *
     * @param conn
     * @return HsWorkscaleDao
     */
    public static HsWorkscaleDao create(Connection conn) {
        return new HsWorkscaleDaoImpl(conn);
    }

}
